.add-box,.update-box{
    position: fixed;
    left:50%;
    top:50%;
    transform: translate(-50%,-50%);
    width: 400px;
    height: 300px;
    border:1px solid #ededed;
    background-color: rgb(215, 213, 213);
}